import request from '../util/request.js'

export function getAllRights(type="tree"){
    return request({
        url:`/rights/${type}`,
        method:"GET"
    })
}